package com.yxinsur.imc.business.events.event;

import com.yxinsur.imc.business.domain.ImcOrder;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.context.ApplicationEvent;

/**
 * 保单录入事件
 * @author imc
 *
 */
public class OrderCreateEvent extends ApplicationEvent{
    
    private String msg;
    
    private ImcOrder order;

    public OrderCreateEvent(Object source, String msg, ImcOrder order) {
        super(source);
        this.msg=msg;
        this.order=order;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ImcOrder getOrder() {
        return order;
    }

    public void setOrder(ImcOrder order) {
        this.order = order;
    }
}